-
-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addendum to #2426 - Adminhtml loader #2475
Addendum to #2426 - Adminhtml loader #2475
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems much better this way
One sec, one more change incoming. Edit: done, I improved the logic when showLoader might be called twice in a row. |
The more you look at the inline spaghetti javascript of Magento the more you want to cry 😭 |
yes ahhahaha I'm working now on an issue that's driving me crazy and it's been there since forever! |
Let me know if you need a second set of eyes. You can post on Discord if you want. |
Thanks! I think I'll be able to post a PR soon (maybe today) that will need some test ehheheh |
c6b840c
to
de9f919
Compare
This is a useful PR. On the same computer in two VMs with identical allocated resources (almost top processor, memory, nvme), OM installed in Windows 10 (XAMPP) from 450 ms no longer displays the loader, Debian 10 from 25 ms no longer displays the loader. The differences are notable, if we had set a default value and it could only be changed by editing, only some would have benefited from this feature. |
Description (*)
I was working on a few things and noticed I needed a few fixes for #2426.
Issues:
Element.show('loading-mask');
directly. Because I hid the child elements, that broke the loader showing. I removed thestyle="display:none"
from those child elements to fix it.Related Pull Requests
#2426
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
I apologize about the breakage, I somehow missed that the loader was displayed manually in places.
Contribution checklist (*)